﻿using System;

namespace Sustainalytics.Utils.Exceptions.Universes
{
    public class AccountFeatureNotFoundException : Exception
    {
        public string AccountFeature { get; private set; }
        public int RowNumber { get; private set; }
        public AccountFeatureNotFoundException(string message, string feature, int rowNumber): base (message)
        {
            AccountFeature = feature;
            RowNumber = rowNumber;
        }

        public AccountFeatureNotFoundException(string message, Exception innerException, string feature, int rowNumber)
            : base(message, innerException)
        {
            AccountFeature = feature;
            RowNumber = rowNumber;
        }
    }
}
